package services.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import orm.Reply;
import orm.ReplyMapper;
import services.ReplyBiz;

@Service
public class ReplyBizImpl implements ReplyBiz{
	
	@Resource
	ReplyMapper replyMapper;
	
	@Override
	public void addReply(Reply r) {
		replyMapper.addReply(r);
		
	}

	@Override
	public List<Reply> getAllReply(int tieid) {
		return replyMapper.getAllReply(tieid);
	}


	
}
